package com.wwt;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class PhoneTest {
    public static void main(String[] args) {
        Phone[] phones={new Phone("13533876711",15,23.2),
                new Phone("13533876712",18,28.2),
                new Phone("13533876713",5,200.2),
                new Phone("13533876714",15,20.0),
                new Phone("13533876714",15,20.0),
                new Phone("13533876715",22,32.0)
        };
        Arrays.sort(phones);
        for (Phone phone:phones){
            System.out.println(phone);
        }
    }
}
